package com.cskaoyan.service;

import com.cskaoyan.bean.bo.AdComment;
import com.cskaoyan.bean.bo.Goods_list;
import com.cskaoyan.bean.marketBean.*;
import com.cskaoyan.bean.vo.ZYL_admin_orderVO;

import java.util.List;

public interface MarketGoods_zyl_Service {

    MarketCategory selectByPrimaryKey_zyl(Integer id);

    int insert(MarketGoodsSpecification record);

    int insert(MarketGoodsProduct record);
    int insert(MarketGoods record);

    int insert(MarketGoodsAttribute record);
    int updateByPrimaryKey(MarketGoodsProduct record);


    int updateByPrimaryKey(MarketGoodsSpecification record);
    int updateByPrimaryKey(MarketGoods record);

    int updateByPrimaryKey(MarketGoodsAttribute record);

    List<MarketCategory_zyl> selectByExample_list_zyl();

    List<MarketCategory_zyl> selectByPrimaryKey_goods_zyl(Integer id);
    MarketCategory selectByPrimaryKey_gMarketCategory(Integer id);


    int setContent_zyl(ZYL_admin_orderVO zyl_admin_orderVO);

    List<MarketGoods> list(Goods_list goods);

    List<MarketComment> zyl_list_comment(AdComment goods);

    int delete_zyl_goods(Integer id);

    int delete_zyl_goods_product(Integer id);

    int delete_zyl_goods_specification(Integer id);

    int delete_zyl_goods_attribbute(Integer id);

    int deleteByPrimaryKey(Integer id);

    List<MarketGoodsAttribute> selectByExampleAttribute(MarketGoodsAttributeExample example);

    MarketGoods selectByPrimaryKey(Integer id);

    List<MarketGoodsProduct> selectByExampleProduct(MarketGoodsProductExample example);

    List<MarketGoodsSpecification> selectByExampleSpecification(MarketGoodsSpecificationExample example);

    List<MarketBrand> selectByExample(MarketBrandExample example);


    List<MarketCategory> selectByExample(MarketCategoryExample example);

}
